package org.link.bean;

/**
 * 
 * project_name:forumweb
 * package_name:org.link.bean
 * file_name:Boss.java
 * @author Link
 * create_date:2015年10月22日 上午10:22:41
 * modified_date:
 * description: 板块与版主关联表实体类
 *
 */
public class Boss {

	private int id;				//id号
	private int userId;			//版主用户id号
	private int boardId;		//板块id号
	private int isboss;			//是否是版主
	
	public Boss() {				//无參构造方法
		super();
	}

	public Boss(int id, int userId, int boardId, int isboss) {			//全參构造方法
		super();
		this.id = id;
		this.userId = userId;
		this.boardId = boardId;
		this.isboss = isboss;
	}

	public Boss(int userId, int boardId, int isboss) {				//无逻辑id号的构造方法
		super();
		this.userId = userId;
		this.boardId = boardId;
		this.isboss = isboss;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getBoardId() {
		return boardId;
	}

	public void setBoardId(int boardId) {
		this.boardId = boardId;
	}

	public int getIsboss() {
		return isboss;
	}

	public void setIsboss(int isboss) {
		this.isboss = isboss;
	}

	@Override
	public String toString() {
		return "Boss [id=" + id + ", userId=" + userId + ", boardId=" + boardId
				+ ", isboss=" + isboss + "]";
	}
	
}
